home *** CD-ROM | disk | FTP | other *** search
- object SyntAnal28: TLibSyntAnalyzer
- Formats = <
- item
- DisplayName = 'Default'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = []
- FormatType = ftCustomFont
- end
- item
- DisplayName = 'Marked block'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clHighlightText
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = []
- BgColor = clHighlight
- FormatType = ftColor
- end
- item
- DisplayName = 'Rule'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = []
- end
- item
- DisplayName = 'Term'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlue
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = [fsBold]
- end
- item
- DisplayName = 'TermNoCase'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clNavy
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = [fsBold]
- end
- item
- DisplayName = 'Comment'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clRed
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = []
- end
- item
- DisplayName = 'Symbol'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clPurple
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = [fsBold]
- end
- item
- DisplayName = 'Token type'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clGreen
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = []
- end
- item
- DisplayName = 'Rule Ident'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = [fsBold]
- end>
- TokenRules = <
- item
- DisplayName = 'Comment 1'
- StyleName = 'Comment'
- Expression = '//.*'#13#10
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'Comment 2'
- StyleName = 'Comment'
- Expression = '(?s)/\*.*?(\*/|\Z)'#13#10
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'Term'
- StyleName = 'Term'
- TokenType = 1
- Expression = '".*?"'#13#10
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'TermNoCase'
- StyleName = 'TermNoCase'
- TokenType = 2
- Expression = #39'.*?'#39#13#10
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'Token rule'
- StyleName = 'Token type'
- TokenType = 7
- Expression = '<.*?>'#13#10
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'Rule'
- StyleName = 'Rule'
- TokenType = 3
- Expression = '\w+'#13#10
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'Equal'
- StyleName = 'Symbol'
- TokenType = 4
- Expression = '='#13#10
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'Or'
- StyleName = 'Symbol'
- TokenType = 5
- Expression = '\|'#13#10
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'Rule stop'
- StyleName = 'Symbol'
- TokenType = 6
- Expression = ';'#13#10
- ColumnFrom = 0
- ColumnTo = 0
- end>
- BlockRules = <
- item
- DisplayName = 'Rule detect'
- StyleName = 'Rule Ident'
- BlockType = btTagDetect
- ConditionList = <
- item
- TokenTypes = 16
- end
- item
- TokenTypes = 8
- end>
- IdentIndex = 1
- HighlightPos = cpAny
- IgnoreAsParent = False
- end>
- CodeTemplates = <>
- SubAnalyzers = <>
- TokenTypeNames.Strings = (
- 'Comment'
- 'Term'
- 'TermNoCase'
- 'Rule'
- 'Equal'
- 'Or'
- 'Stop'
- 'Token rule ref.')
- MarkedBlockStyle = 'Marked block'
- DefaultStyleName = 'Default'
- Extentions = 'zg'
- LexerName = 'My internal gramma'
- Internal = True
- Left = 140
- Top = 160
- end
-